Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Environment and Utilities /
Chapter 2 - QuickDraw GX Memory Management / QuickDraw GX Memory Management Reference
Functions / Loading and Unloading Objects


GXUnloadColorProfile

You can use the GXUnloadColorProfile function to unload a color profile from memory.

void GXUnloadColorProfile(gxColorProfile target);
target
A reference to the color profile object to be unloaded from memory.
DESCRIPTION
The GXUnloadColorProfile function moves a color profile object from the active graphics client heap to disk storage. When you or QuickDraw GX use the GXUnloadColorProfile function to unload a color profile object from memory to disk storage, QuickDraw GX stores its location in a 4-byte stub in the active graphics client heap. When you use the GXLoadColorProfile function to reload the object from disk storage to memory, QuickDraw GX uses the stub to find the stored color profile object.

ERRORS, WARNINGS, AND NOTICES
Errors
out_of_memory
color_profile_is_nil
SEE ALSO
For additional information about loading objects from disk storage to memory and unloading objects from memory to disk storage, see the section "Loading and Unloading Objects" beginning on page 2-12.

The GXLoadColorProfile function is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help